package com.nursinghome.config;


import com.nursinghome.bean.Rule;
import lombok.Data;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.List;

@Data
@Configuration
@MapperScan(basePackages = "com.nursinghome.common.mapper")
@ConfigurationProperties(prefix = "white-list")
public class WhiteListConfig {
    private List<Rule> rules;
}
